package com.company.eduservice.feign.Impl;

import com.company.eduservice.feign.VideoFeignService;
import com.company.servicebase.exception.MyException;
import com.company.utils.R;
import com.company.utils.ResultCode;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class VideoServiceDegrade implements VideoFeignService {
    @Override
    public R removeAlyVideo(String id) {
        throw new MyException(ResultCode.ERROR, "删除视频服务错误！");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        throw new MyException(ResultCode.ERROR, "删除视频服务错误！");
    }
}
